import React, { Component } from 'react';

//主页
import TopBox from '../components/TopBox';
import SearchBox from '../components/home/SearchBox';
import SwiperBox from '../components/home/SwiperBox';
import ListBox from '../components/home/ListBox';
import GoodsList from '../components/home/GoodsList';

class HomePage extends Component {
    render() {
        return (
            <div>
                {/* 主页 */}
                {/* 返回顶部 */}
                {<TopBox />}
                {/*搜索组件*/}
                <SearchBox />
                {/*轮播图组件*/}
                <SwiperBox />
                {/*列表组件*/}
                <ListBox />
                {/*商品列表*/}
                <GoodsList />
            </div>
        );
    }
}

export default HomePage;